package com.spring.main;

import com.spring.dao.AccountDao;
import com.spring.service.AccountService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class InstanceMain {

    public static void main(String[] args) {

        // 获取核心容器对象
    /*    ApplicationContext ac = new ClassPathXmlApplicationContext("aaa.xml");*/
/*        AccountDao getInstance = (AccountDao)ac.getBean("getInstance");
        System.out.println(getInstance);*/

    }
}
